package com.vhall.component.service.channel.impl;


import com.vhall.component.dao.channel.ChannelsMapper;
import com.vhall.component.entity.channel.Channels;
import com.vhall.component.service.channel.IChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 1
 *
 * @author jingwen.li
 * @date 2022/9/8
 */
@Service
public class ChannelServiceImpl implements IChannelService {

    @Autowired
    private ChannelsMapper channelsMapper;

    @Override
    public boolean save(Channels channel) {
        return channelsMapper.insert(channel) > 0;
    }
}
